home *** CD-ROM | disk | FTP | other *** search
/ Language/OS - Multiplatform Resource Library / LANGUAGE OS.iso / dsp / dspgroup / macros.arc / NOT.ASM < prev    next >
Encoding:
Assembly Source File  |  1983-11-17  |  985 b   |  13 lines

  1.  
  2. *                                                                               
  3. *NOT AC OR WORD A                                                               
  4. *                                                                               
  5. NOT    $MACRO  A         INVERT                                                 
  6.        $IF  A.L#=0                                                              
  7.        LAC  :A:,0        LOAD AC                                                
  8.        XOR  MINUS        INVERT                                                 
  9.        SACL :A:,0        RESTORE                                                
  10.        $ELSE                                                                    
  11.        XOR  MINUS        INVERT                                                 
  12.        $ENDIF                                                                   
  13.        $END